package com.ehotting.edsta.circuitDesign.bean;


import com.ehotting.edsta.circuitDesign.enums.CircuitTypeEnum;

import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;

// 方案数据
public class SchemeBean {

    /**
     *  {@link CircuitTypeEnum#getCode()}
     */
    // 每个类型的电路模板，这里的key值存的是多个电路类型
    private Map<String, CircuitPackageBean> circuit = new HashMap<>();

    private AllMapBean all = new AllMapBean();

    // 方案功率
    private Double power;
    // 方案面积
    private Double area;
    // 方案价格
    private Double price;
    // 方案存储器类型
    private Set<String> typeC;
    // 方案处理器型号
    private Set<String> modeC;
    // 方案存储时间，秒
    private Double time;

    private boolean choose;

    // 排序
    private String idStr;

    public Map<String, CircuitPackageBean> getCircuit() {
        return circuit;
    }

    public AllMapBean getAll() {
        return all;
    }

    public Double getPower() {
        return power;
    }

    public void setPower(Double power) {
        this.power = power;
    }

    public Double getArea() {
        return area;
    }

    public void setArea(Double area) {
        this.area = area;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Set<String> getTypeC() {
        return typeC;
    }

    public void setTypeC(Set<String> typeC) {
        this.typeC = typeC;
    }

    public Set<String> getModeC() {
        return modeC;
    }

    public void setModeC(Set<String> modeC) {
        this.modeC = modeC;
    }

    public Double getTime() {
        return time;
    }

    public void setTime(Double time) {
        this.time = time;
    }

    public void setAll(AllMapBean all) {
        this.all = all;
    }

    public boolean isChoose() {
        return choose;
    }

    public void setChoose(boolean choose) {
        this.choose = choose;
    }

    public String getIdStr() {
        return idStr;
    }

    public void setIdStr(String idStr) {
        this.idStr = idStr;
    }
}
